package com.xyy.saas.payment.service;

import com.xyy.saas.payment.dao.model.RefundReturnAdvance;

public interface RefundReturnAdvanceService {
    /**
     * 插入
     * @param refundReturnAdvance
     * @return
     */
    boolean insert(RefundReturnAdvance refundReturnAdvance);

    /**
     * 插入或更新
     * @param refundReturnAdvance
     * @return
     */
    boolean insertOrUpdate(RefundReturnAdvance refundReturnAdvance);

    /**
     * 根据退款流水号查询
     * @param refundNo
     * @return
     */
    RefundReturnAdvance selectByRefundNo(String refundNo);

    /**
     * 根据ID更新
     * @param refundReturnAdvance
     * @return
     */
    boolean updateStatusById(RefundReturnAdvance refundReturnAdvance);
}
